package org.jeecg.modules.yw.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.yw.entity.MaterialPrice;
import org.jeecg.modules.yw.vo.MaterialPriceV;
import org.jeecg.modules.yw.entity.PriceArea;
import org.jeecg.modules.yw.mapper.MaterialPriceMapper;
import org.jeecg.modules.yw.service.IMaterialPriceService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

/**
 * @Description: 品类费用价格
 * @Author: jeecg-boot
 * @Date:   2025-04-17
 * @Version: V1.0
 */
@Service
public class MaterialPriceServiceImpl extends ServiceImpl<MaterialPriceMapper, MaterialPrice> implements IMaterialPriceService {


    @Override
    public IPage<PriceArea> pageInfo(Page<PriceArea> page, String area) {
        return baseMapper.pageInfo(page,area);
    }

    @Override
    public List<MaterialPriceV> listInfo(String area) {
        return baseMapper.listInfo(area);
    }
}
